package com.beidouapp.domain.pojo;

import com.beidouapp.domain.annotation.TranslateField;
import com.beidouapp.translate.Translatable;

import java.io.Serializable;
import java.util.Date;

public class Role implements Translatable, Serializable {
    private static final long serialVersionUID = 2130774073833500955L;

    private Long id;

    /**
     * role code
     */
    private String code;
    
    
    private Date createDate;

    /**
     * role name
     */
    private String name;

    /**
     * role status 废弃？.
     */
    private String status;

    /**
     * role description
     */
    private String descn;

    /**
     * 角色组ID.
     */
    @TranslateField(translatorName = "roleGroupTranslator", targetFieldName = "roleGroupName")
    private Long roleGroupId;

    /**
     * 角色组名称.
     */
    private String roleGroupName;

    private String fkId;


    public Date getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public Role() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDescn() {
        return descn;
    }

    public void setDescn(String descn) {
        this.descn = descn;
    }

    public Long getRoleGroupId() {
        return roleGroupId;
    }

    public void setRoleGroupId(Long roleGroupId) {
        this.roleGroupId = roleGroupId;
    }

    public String getRoleGroupName() {
        return roleGroupName;
    }

    public void setRoleGroupName(String roleGroupName) {
        this.roleGroupName = roleGroupName;
    }

    public String getFkId() {
        return fkId;
    }

    public void setFkId(String fkId) {
        this.fkId = fkId;
    }
}
